/*
 Navicat MySQL Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 50710
 Source Host           : localhost
 Source Database       : log

 Target Server Type    : MySQL
 Target Server Version : 50710
 File Encoding         : utf-8

 Date: 02/26/2016 16:05:18 PM
*/

SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
--  Table structure for `active_rbac_node`
-- ----------------------------
DROP TABLE IF EXISTS `active_rbac_node`;
CREATE TABLE `active_rbac_node` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `path` varchar(255) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL,
  `pid` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8;

-- ----------------------------
--  Records of `active_rbac_node`
-- ----------------------------
BEGIN;
INSERT INTO `active_rbac_node` VALUES ('1', 'order', '订单管理', '0'), ('2', 'order/show', '订单显示', '1'), ('3', 'order/add', '订单增加', '2'), ('4', 'order/delete', '订单删除', '2'), ('5', 'order/update', '订单修改', '2'), ('6', 'order/select', '订单搜索', '2'), ('7', 'user', '用户管理', '0'), ('8', 'teacher/show', '老师管理(show)', '7'), ('9', 'teacher/add', '老师增加', '8'), ('10', 'teacher/delete', '老师删除', '8'), ('11', 'student/show', '学生管理(show)', '7'), ('12', 'student/add', '学生增加', '11'), ('13', 'student/delete', '学生删除', '11'), ('14', 'auth', '权限管理', '0'), ('15', 'auth/role_show', '角色管理(show)', '14'), ('16', 'auth/role_add', '角色添加', '15'), ('17', 'auth/role_delete', '角色删除', '15'), ('18', 'auth/update_role_node', '角色权限修改', '15'), ('21', 'order/import', '订单导出', '1');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
